﻿@model FinalProjectMVC.Models.PhotosVM

@{
    ViewBag.Title = "AddPhoto";
}

<h2>AddPhoto</h2>

<form method="post">
    <div>
        @Html.HiddenFor(x => x.PhotoID)
            @Html.LabelFor(x => x.FilePath)
            @Html.TextBoxFor(x => x.FilePath, new { @class = "form-control" })
        </div>
        <div>
            @Html.LabelFor(x => x.Description)
            @Html.TextBoxFor(x => x.Description, new { @class = "form-control" })
        </div>
        <div>
            @Html.LabelFor(x => x.EventId)
            @Html.TextBoxFor(x => x.EventId, new { @class = "form-control" })
        </div>
        <button type="submit" class="btn-btn-primary">Submit</button>
    </form>